Ext.define('CM.controller.Security', {
	extend : 'Ext.app.Controller',

	views : [ 'security.Context' ],

	refs : [ {
		ref : 'securityContext',
		selector : 'securitycontext'
	} ],

	init : function() {
		console.log(this.$className, 'init');

		this.control({
			'securitycontext button[action=logout]' : {
				click : this.logout
			}
		});
	},

	logout : function() {
		console.log(this.$className, 'logout');
	}

});
